/*
 * @Author: your name
 * @Date: 2021-10-21 10:59:17
 * @LastEditTime: 2021-10-21 11:05:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /a1902-a-group/vue_domei18n_style/src/i18n/index.js
 */

import { def } from '@vue/shared';
import {createI18n} from 'vue-i18n';

const i18n = createI18n({
    locale: 'zh',
    messages: {
        zh: require('./zh'), // 中文
        en: require('./en') // 英文
    }
})

export default i18n; // 将i18n实例，引入到main.js内